namespace ShapeShaderCode
{
static const char vertexShaderCode[]="\
/**\n\
 * Name: shapeshader.vsh\n\
 * Author: tomita\n\
 * Date: 2011/10/28\n\
 * Description: \n\
 */\n\
\n\
attribute vec4 vertex;\n\
\n\
#if 0\n\
uniform mat4 World;\n\
uniform mat4 View;\n\
uniform mat4 Proj;\n\
#else\n\
uniform mat4 WorldViewProj;\n\
#endif\n\
\n\
void main()\n\
{\n\
#if 0\n\
  mat4 transform=Proj*View*World;\n\
  gl_Position=transform*vec4(vertex.xyz,1.0);\n\
#else\n\
  gl_Position=WorldViewProj*vertex;\n\
#endif\n\
  \n\
}\n\
\n\
\n\
";
static const char fragmentShaderCode[]="\
/**\n\
 * Name: shapeshader.psh\n\
 * Author: tomita\n\
 * Date: 2011/10/28\n\
 * Description: \n\
 */\n\
void main()\n\
{\n\
  gl_FragColor=vec4(0.0,0.0,1.0,1.0);\n\
}\n\
\n\
\n\
";
}
